﻿using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http;
using Abp.Application.Services;
using RMM.Core.Entity.Shops;
using RMM.Shops.Dtos;

namespace RMM.Shops
{
    public interface IShopProjectAppService : IApplicationService
    {
        /// <summary>
        /// id获取项目详情
        /// </summary>
        /// <param name="projectId"></param>
        /// <returns></returns>
        [HttpGet]
        Task<ShopProjectDto> GetProjectById(int projectId);

        /// <summary>
        /// shopid获取项目列表
        /// </summary>
        /// <param name="shopId"></param>
        /// <returns></returns>
        [HttpGet]
        Task<List<ShopProjectDto>> GetProjectByShop(int shopId);
    }
}